.\" $Id: PAPI_shutdown.3,v 1.9 2004/09/27 19:41:08 london Exp $
.TH PAPI_shutdown 3 "September, 2004" "PAPI Programmer's Reference" "PAPI"

.SH NAME
PAPI_shutdown \- finish using PAPI and free all related resources

.SH SYNOPSIS
.B C Interface
.nf
.B #include <papi.h>
.BI "void PAPI_shutdown (void);"
.fi
.B Fortran Interface
.nf
.B #include "fpapi.h"
.BI PAPIF_shutdown()
.fi

.SH DESCRIPTION
.B PAPI_shutdown(\|)
is an exit function used by the PAPI Library to free resources and
shut down when certain error conditions arise. It is not necessary for
the user to call this function, but doing so allows the user to have the
capability to free memory and resources used by the PAPI Library.

.SH BUGS
This function has no known bugs.

.SH SEE ALSO
.BR PAPI_cleanup_eventset "(3), " PAPI_destroy_eventset "(3) " 

